home *** CD-ROM | disk | FTP | other *** search
- belocs-locales-bin magic number
- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-
- GNU libc stores a magic number in compiled locale files to ensure
- that locale files are compatible with current GNU libc version.
- This magic number can be retrieved with the following commands:
- $ localedef.glibc --no-archive -c -i en_US -f ISO-8859-1 /tmp/en_US
- $ od -tx4 /tmp/en_US/LC_CTYPE | head -n 1 | awk '{print $2}'
-
- belocs-locales-bin can generate locale files for the following
- magic numbers:
- + 20051014 (glibc CVS HEAD)
- + 20031115 (glibc >= 2.3.3)
- + 20000828 (glibc >= 2.1.96)
-
- -- Denis Barbier <barbier@debian.org> Mon, 17 Oct 2005 23:26:26 +0200
-